package com.shire.shire_interface.service.keyword;

import com.shire.shire_interface.dao.keyword.WxReplyRecordDao;
import com.shire.shire_interface.model.keyword.WxReplyRecord;
import com.shire.shire_interface.model.keyword.WxReplyRecordExample;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WxReplyRecordService {

   @Resource
   private WxReplyRecordDao wxReplyRecordDao;

    public int insert(WxReplyRecord wxReplyRecord) {
        return wxReplyRecordDao.insertSelective(wxReplyRecord);
    }

    public List<WxReplyRecord> selectByExample(WxReplyRecordExample wxReplyRecordExample) {
        return wxReplyRecordDao.selectByExample(wxReplyRecordExample);
    }

    public int deleteByExample(WxReplyRecordExample wxReplyRecordExample) {

        return wxReplyRecordDao.deleteByExample(wxReplyRecordExample);
    }
}
